package io.qar.reviews.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.annotation.*;
	import java.util.Date;

/**
* 评论表
*
* @author yyyyjinying 1020066395@qq.com
* @since 3.0 2024-06-10
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("zy_reviews")
public class ReviewsEntity {
private static final long serialVersionUID = 1L;

			/**
			* 评论ID
			*/
			@TableId
		private Long reviewId;
			/**
			* 用户ID
			*/
		private Long userId;
			/**
			* 餐厅ID
			*/
		private Long restaurantId;
			/**
			* 评论内容
			*/
		private String reviewContent;
			/**
			* 评分
			*/
		private Integer rating;
			/**
			* 评论时间
			*/
		private Date reviewTime;
}